#include<iostream>
#include<vector>
using namespace std;
template<class T>
void Print(vector<T>& v)
{
    typename::vector<T>::iterator it = v.begin();
    while(it!=v.end()) cout << *it<<" ",it++;
    cout << endl;
}
int main()
{
    // void* p = new char[1024*1024*1024*2];
    // if(p != NULL)
    // {
    //     cout << p << endl;
    //     cout <<"申请成功"<<endl;
    // }
    // return 0;
    vector<int> v{1,2,3,4,5};
    Print(v);
}

#if 0
#include<stdio.h>
#include<string.h>
int main()
{
    char s1[20] = "worldxxxxx";
    char s2[20] = "helloxxxxxxxx";
    memcpy(s1,s2,sizeof(s1));
    printf("%s\n",s1);
    printf("%s\n",s2);
	return 0;
}
#endif

